package org.korifey.ffbdd.samples.logic;

import java.util.Map;

public class Const implements Expression {
	boolean value;
	public Const(String val) {
		value = val.equals("1");
	}
	@Override
	public boolean eval(Map<String, Boolean> env) {
		return value;
	}
	
	public String toString() {
		return value ? "1" : "0";
	}
}
